using System;
using System.Collections;

namespace Snooze.Controllers.Flex
{
    using Castle.MonoRail.Framework;
    using Snooze.Model;

	[Layout("flex")]
    [ControllerDetails(Area="flex")]
    public class MainController : FlexController
	{

        public void Index()
        {
            
        }

        [AjaxAction]
        public void GetAlarms()
        {
            FindAll("Alarm");
        }

	}
}
